package designPattern.action11.stage.c20t4;

import designPattern.action11.stage.c20t4.sketch.Vehicle;

public class Application {
    public static void main(String args[]) {
        Vehicle carOne = new Vehicle("卧铺车厢");
        Vehicle carTwo = new Vehicle("普通车厢");
        carOne.startUp();
        carTwo.startUp();
        carTwo.stop();
        carOne.stop();
    }
}
